Temporary fix for blkfront failure on save/restore.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 1 Nov 2005 15:44:25 +0000 (16:44 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 1 Nov 2005 15:44:25 +0000 (16:44 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c

index 51f836616a2677d4e5404d65fc49decbb08e7212..a62f597ed2a502b1b76661c64594782fa4a38c58 100644 (file)
@@ -458,7 +458,7 @@ static void watch_for_status(struct xenbus_watch *watch,
        node += strlen(watch->node);
 
        /* FIXME: clean up when error on the other end. */
-       if (info->connected == BLKIF_STATE_CONNECTED)
+       if ((info->connected == BLKIF_STATE_CONNECTED) || info->mi)
                return;
 
        err = xenbus_gather(NULL, watch->node,